ThinkPHP5


think\Env
library\think\Env.php at line 14

Class Env

Env

public class Env


Method Summary
static mixed

get(string name, string default)

获取环境变量值

Method Detail

library\think\Env.php at line 22

get

public static mixed get(string name, string default)

获取环境变量值

Parameters:
name - 环境变量名(支持二级 .号分割)
default - 默认值

ThinkPHP5